package awk.disruptor;

import com.lmax.disruptor.ExceptionHandler;

/**
 * @description:
 * @author: wanghaifeng
 * @date: 2020/12/23
 */
public class MessageExceptionHandler implements ExceptionHandler {

    @Override
    public void handleEventException(Throwable throwable, long l, Object o) {
        throwable.printStackTrace();
    }

    @Override
    public void handleOnStartException(Throwable throwable) {
        throwable.printStackTrace();
    }

    @Override
    public void handleOnShutdownException(Throwable throwable) {
        throwable.printStackTrace();
    }
}